package org.springblade.modules.admin.controller.feishu;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import org.springblade.core.tool.api.R;
import org.springblade.modules.admin.service.feishu.IFeiShuDocumentService;
import org.springblade.modules.admin.service.feishu.IGovernmentElevatorPoolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: Sharry
 * @createTime: 2024-01-03 13:38
 * @version: Version-1.0
 */
@RestController
@AllArgsConstructor
@RequestMapping("/admin/government")
@Api(value = "/admin/government", tags = "政府电梯池子控制器")
public class GovernmentElevatorPoolController {

	@Autowired
	private IFeiShuDocumentService feiShuDocumentService;

	@Autowired
	private IGovernmentElevatorPoolService governmentElevatorPoolService;

	@GetMapping("/add/byHand")
	@ApiOperation(value = "手动添加政府电梯池子接口", notes = "手动添加政府电梯池子接口")
	public R<String> addByHand() {
		String result = governmentElevatorPoolService.addByHand();
		return R.data(result);
	}


}
